#pragma once

#define NULL 0

#define FLOATTODWORD(x) ((DWORD)(*((DWORD *) &(x)))) 

#define ISNULL(p) ((p) == NULL)
#define SETONEIFZERO(n) n = (n == 0) ? 1 : n;
#define SETREF(ptr, value) if(ptr) *ptr = value;
#define EE_EXPORT _declspec (dllexport)

typedef unsigned int uint;
typedef const unsigned int cuint;

typedef unsigned char uchar;
typedef const unsigned char cuchar;